<div id="tab-content-general" class="tab-content" {% if formType!='general' %}style="display: none;"{% endif %}>
    <form method="post" action="{{ path('cuteflow_admin_settings_save', {'formType': 'general'}) }}" {{ form_enctype(generalForm) }}>
        <div class="box tabular settings">
            <p>
                {{ form_label(generalForm.defaultLanguage) }}
                {{ form_widget(generalForm.defaultLanguage, {'choices': availableLanguages} ) }}
            </p>
            <p>
                {{ form_label(generalForm.defaultTheme) }}
                {{ form_widget(generalForm.defaultTheme) }}
            </p>
            <p>
                {{ form_label(generalForm.userFormat) }}
                {{ form_widget(generalForm.userFormat) }}
            </p>
            <p>
                {{ form_label(generalForm.useGravatar) }}
                {{ form_widget(generalForm.useGravatar) }}
            </p>
        </div>

        {{ form_rest(generalForm) }}

        <input type="submit" value="{{ "admin.button.save" | trans }}" name="commit"/>
    </form>
</div>
